package com.jumi.microservice.stock.api.dto;

import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * @Description 商城库存申请 - sku
 * @ClassName CommoditySkuApplyDTO
 * @Author Abel Yang
 * @Date 2020/8/27/027 9:07
 **/
public class CommoditySkuApplyDTO extends AbstractObject implements Serializable {

    private static final long serialVersionUID = 7824090332822163660L;

    @ApiModelProperty(value = "商城skuId")
    private Long skuId;
    @ApiModelProperty(value = "商城skuCode")
    private String skuCode;
    @ApiModelProperty(value = "商城skuName")
    private String skuName;
    @ApiModelProperty(value = "商城sku库存申请数量")
    private Integer stockNum;
    @ApiModelProperty(value = "商城sku库存预售申请数量")
    private Integer preStockNum;
    @ApiModelProperty(value = "商城sku对应的供应链物料列表")
    private List<CommodityMaterialApplyDTO> commodityMaterialApplyList;

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public Integer getStockNum() {
        return stockNum;
    }

    public void setStockNum(Integer stockNum) {
        this.stockNum = stockNum;
    }

    public Integer getPreStockNum() {
        return preStockNum;
    }

    public void setPreStockNum(Integer preStockNum) {
        this.preStockNum = preStockNum;
    }

    public List<CommodityMaterialApplyDTO> getCommodityMaterialApplyList() {
        return commodityMaterialApplyList;
    }

    public void setCommodityMaterialApplyList(List<CommodityMaterialApplyDTO> commodityMaterialApplyList) {
        this.commodityMaterialApplyList = commodityMaterialApplyList;
    }

    @Override
    public String toString() {
        return "CommoditySkuApplyDTO{" +
                "skuId=" + skuId +
                ", skuCode='" + skuCode + '\'' +
                ", skuName='" + skuName + '\'' +
                ", stockNum=" + stockNum +
                ", preStockNum=" + preStockNum +
                ", commodityMaterialApplyList=" + commodityMaterialApplyList +
                '}';
    }
}
